using System;
using System.Windows.Forms;

namespace OptimusPluginLib
{
  public class MessageHelper
  {
    public static void ShowError(string Error)
    {
      MessageBox.Show(Error, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
    }

    public static void ShowError(Exception Exception)
    {
      ShowError(string.Format("Exception: {0}", Exception));
    }

    public static void ShowMessage(string Message)
    {
      MessageBox.Show(Message, "Notification", MessageBoxButtons.OK, MessageBoxIcon.Information);
    }
  }
}